package com.atguigu.gmall.item;

import com.atguigu.gmall.common.config.Swagger2Config;
import com.atguigu.gmall.common.config.thread.ThreadPoolAutoConfiguration;
import com.atguigu.gmall.common.config.thread.annotation.EnableMyThreadPool;
import com.atguigu.gmall.starter.cache.MallCacheAutoConfiguration;
import com.atguigu.gmall.starter.cache.annotation.EnableAppCache;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * @Description
 * @Return
 * @Author https://weiranyi.github.io
 * @Date Created in 2022-12-03 11:22
 **/

//@MapperScan(basePackages = {"com.atguigu.gmall.starter.cache"})
@EnableFeignClients(basePackages = {
        "com.atguigu.gmall.feign.product",
        "com.atguigu.gmall.feign.search"
})//开启Feign远程调用功能
@SpringCloudApplication
@EnableMyThreadPool
public class ItemApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItemApplication.class);
    }
}
